home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / john / hc_showd.hqx / ShowDialog XCMD 1.4 / card_5082.txt < prev    next >
Encoding:
Text File  |  1989-08-30  |  1.4 KB  |  39 lines

  1. -- card: 5082 from stack: in.4
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2607
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 1
  9. ----- text -----
  10.  
  11. Type 2 of ShowDialog XCMD is used to create text entry dialog boxes.
  12. Its parameters are:
  13.  
  14. ShowDialog 2,<DLOG resource ID>,<first prompt string>,<second prompt string>,<window title>,
  15. <default entry string>,[<checkbox BOOLEAN>],[<top coord>,<left coord>]
  16.  
  17. where 2 is the type of the external;
  18. <DLOG resource ID> is the resource ID of the DLOG template;
  19. <first prompt string> consists of the dialog's first text string;
  20. <second prompt string> consists of the dialog's second text string (if you want one);
  21. <window title> is the text shown in the dialog window titlebar (if there is a titlebar);
  22. <default entry string> is a default text string to appear in a text entry field;
  23.  
  24. The last three parameters are OPTIONAL. They are:
  25. <checkbox BOOLEAN> specifies whether your checkbox (if you have one) is initially checked;
  26. <top coord>  and <left coord> are used to set the top,left coordinates for placing the dialog.  If these two parameters are omitted, the dialog will be centered within the card window. 
  27.  
  28.  
  29. -- part contents for background part 3
  30. ----- text -----
  31. ShowDialog XCMD Type 2 (continued...)
  32.  
  33. -- part contents for background part 2
  34. ----- text -----
  35. ShowDialog XCMD Type 2 Parameters
  36.  
  37. -- part contents for background part 7
  38. ----- text -----
  39. 8